package com.ruoyi.project.module.common.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component
@ConfigurationProperties(prefix = "custom")
public class CustomConfig {

    /** 外网地址 **/
    private String baseUrl;

    /** api地址 **/
    private String api;

    public void setBaseUrl(String baseUrl) {
        this.baseUrl = baseUrl;
    }

    public void setApi(String api) {
        this.api = api;
    }

    public String getBaseUrl() {
        return baseUrl;
    }

    public String getApi() {
        return api;
    }

}
